package com.xdf.docmanagementsystem.service;

import com.xdf.docmanagementsystem.entity.Document;
import java.util.List;
import java.util.Map;

/**
 * @Description : 业务层接口,该类为生成器自动生成.
 * @Author : ZK
 * @Date : 2020-06-21 12:45:28
 */
public interface DocumentService {
    int insert(Document record) throws Exception;

    int insertSelective(Document record) throws Exception;

    int multiInsert(List<Document> list) throws Exception;

    int updateByPrimaryKey(Document record) throws Exception;

    int updateByPrimaryKeySelective(Document record) throws Exception;

    int update(Document record) throws Exception;

    int multiUpdate(List<Document> list) throws Exception;

    Document selectByPrimaryKey(Integer id) throws Exception;

    int deleteByPrimaryKey(Integer id) throws Exception;

    List<Document> listQuery(Document record) throws Exception;

    List<Map<String, Object>> report(Integer departmentId, Integer status) throws Exception;

}